/**
 * 
 */
package com.google.code.rookery;

import java.util.ArrayList;
import java.util.Calendar;
import java.util.List;

import com.google.code.rookery.converter.PhoneConverter;

/**
 * @author Xerox
 *
 */
public class FooB {

  @FactoryProperty(name = "dob")
  private Calendar    dob;
  private List<String>  phoneNumbers = new ArrayList<String>();

  /**
   * @return the dob
   */
  public final Calendar getDob() {
    return dob;
  }

  /**
   * @param dob the dob to set
   */
  public final void setDob(Calendar dob) {
    this.dob = dob;
  }

  /**
   * @return the phoneNumbers
   */
  @FactoryProperty(name = "phones", converter = PhoneConverter.class)
  public List<String> getPhoneNumbers() {
    return phoneNumbers;
  }

  /**
   * @param phoneNumbers the phoneNumbers to set
   */
  public void setPhoneNumbers(List<String> phoneNumbers) {
    this.phoneNumbers = phoneNumbers;
  }
}
